home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000262_blitz-list-request_Wed Aug 31 10:10:22 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  2KB

  1. Received: from anubis.kbfi.ee (anubis.kbfi.ee [192.121.251.14]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id KAA04453 for <blitz-list@helsinki.fi>; Wed, 31 Aug 1994 10:02:41 +0300
  2. Received: from microlnk.ml.ee by anubis.kbfi.ee with smtp
  3.     (Smail3.1.28.1 #4) id m0qfjgr-0002uAC; Wed, 31 Aug 94 10:02 EETDST
  4. Received: from ML4/SpoolDir by microlnk.ml.ee (Mercury 1.12);
  5.     Wed, 31 Aug 94 10:05:06 +0200
  6. Received: from SpoolDir by ML4 (Mercury 1.12); Wed, 31 Aug 94 10:04:58 +0200
  7. From: "Ott M. Aaloe" <OTT@microlnk.ml.ee>
  8. Organization:  MicroLink Ltd.
  9. To: blitz-list@helsinki.fi
  10. Date:          Wed, 31 Aug 1994 10:04:56 +0300 (EETDST)
  11. Subject:       Re: Mem Fragmentation - half solved
  12. Priority: normal
  13. X-mailer: Pegasus Mail v3.2 (R0)
  14. Message-ID: <88227B0DC7@microlnk.ml.ee>
  15. MIME-Version: 1.0
  16. Content-Type: text/plain; charset="us-ascii"
  17. Content-Transfer-Encoding: 7bit
  18. X-Status: 
  19. Status: O
  20.  
  21. Hi all (Neil)!
  22. > What we did is allocate three areas of memory big enough to hold our
  23. > largest bitmaps.  We then use CludgeBitMap to make one of these areas
  24. > into a bitmap.  That way, we have absolute control over bitplane allocations.
  25. > Finally, we call AllocMem_ with a huge value a lot.  This defrags the
  26. > memory to a large extent.
  27. I had same idea in mind. Can you explain a bit this bitmap cludge'ing.
  28. I had some problems with it. What exactly does this cludgebitmap 
  29. command want? Addres of a bitmap itself or the whole bitmap object 
  30. structure? Must I create my own bitmap struct by hand?? Hmm..yes
  31. here comes my other question. Someone explained once this but I lost
  32. this msg so here it comes. How can I create blitz objects without
  33. useing blitz commands to allocate them. For example I think it's not 
  34. wise to  oad 10 samples one by one into memory. Instead I thought I 
  35. link all samples into one piece, alloc some chip and load linked 
  36. samples into it. Here's the problem - how I suppose to tell blitz that 
  37. I have sound object #1 starting from addr x, sound #2 startting from
  38. x+z etc.??
  39.  
  40.                 O.T.T. (ott@microlnk.ml.ee)
  41.